<?php
/**
 * @fileoverview    错误页--宝贝被删除或不存在
 * @author          gaojian3
 * @date            2012.02.15
 * @copyright       sina meila
 */

include ('../../__global.php');

class error_del extends ml_controller 
{
    private $rid;
    public function initParam()
    {
        $this->rid=$this->input('rid','get');
    }
    public function checkParam()
    {
        
    }
    
    public function main()
    {
        $data=array();
        $data['title']='该宝贝不存在或已删除！-美啦';
    /**    
        $oContent=new ml_model_dbContent();
        $rs=$oContent->get_cate_by_rid($this->rid);
        $contentData=$oContent->get_data();
        
        $gd_cateNum=ml_tool_catelog::catelogNum($contentData['gd_catelog']);
        $data['gd_cate']=ml_tool_catelog::catelogMaker($this->rid);
        
        if(empty($gd_cateNum)){
            $data['cateUrl']=ml_tool_urlMaker::guang_basic();
        }else{
            $data['cateUrl']=ml_tool_urlMaker::guang_ctg($gd_cateNum);
        }
    */    $data['cateUrl']=ml_tool_urlMaker::guang_ctg($gd_cateNum);
        $this->page_output('content::error_del',$data);
    }
}
new error_del();